package com.ailiwu.www.ailiwu.bean;

import java.util.List;

/**
 * Author:    XiYoung
 * Version    V1.0
 * Date:      2015/12/3 000319:06
 * Description:
 * Modification  History:
 * Date         	Author        		Version        	Description
 * -----------------------------------------------------------------------------------
 * 2015/12/3 0003       XiYoung              1.0                   1.0
 * Why & What is modified:
 */
public class HomeHotF4Icon {


    /**
     * code : 200
     * data : {"promotions":[{"color":"#81c52b","icon_url":"http://img03.liwushuo.com/image/150310/62ggu1j0m.png-pw144","id":1,"order":null,"status":0,"target_url":"liwushuo:///page?type=topic&topic_id=22&page_action=navigation&title=%e6%af%8f%e6%97%a5%e5%8d%81%e4%bb%b6%e7%be%8e%e5%a5%bd%e5%b0%8f%e7%89%a9","title":"美好小物"},{"color":"#fc716f","icon_url":"http://img02.liwushuo.com/image/150319/8edxk0je6.png-pw144","id":2,"order":null,"status":0,"target_url":"liwushuo:///page?type=topic_all","title":"攻略专题"},{"color":"#8686ff","icon_url":"http://img02.liwushuo.com/image/150310/f3hvat0ac.png-pw144","id":3,"order":null,"status":0,"target_url":"liwushuo:///page?type=url&url=http%3a%2f%2fwww.liwushuo.com%2fcredit%2fsign&login=true&right_item_title=","title":"每日签到"},{"color":"#fd6f9e","icon_url":"http://img01.liwushuo.com/image/150310/2q080j10l.png-pw144","id":4,"order":null,"status":0,"target_url":"liwushuo:///page?type=url&url=https%3a%2f%2fevent.liwushuo.com%2ftopics%2fdaily-lucky&right_item_title= ","title":"天天刮奖"}]}
     * message : OK
     */

    private int code;
    private DataEntity data;
    private String message;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public static class DataEntity {
        /**
         * color : #81c52b
         * icon_url : http://img03.liwushuo.com/image/150310/62ggu1j0m.png-pw144
         * id : 1
         * order : null
         * status : 0
         * target_url : liwushuo:///page?type=topic&topic_id=22&page_action=navigation&title=%e6%af%8f%e6%97%a5%e5%8d%81%e4%bb%b6%e7%be%8e%e5%a5%bd%e5%b0%8f%e7%89%a9
         * title : 美好小物
         */

        private List<PromotionsEntity> promotions;

        public void setPromotions(List<PromotionsEntity> promotions) {
            this.promotions = promotions;
        }

        public List<PromotionsEntity> getPromotions() {
            return promotions;
        }

        public static class PromotionsEntity {
            private String color;
            private String icon_url;
            private int id;
            private Object order;
            private int status;
            private String target_url;
            private String title;

            public void setColor(String color) {
                this.color = color;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setOrder(Object order) {
                this.order = order;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public void setTarget_url(String target_url) {
                this.target_url = target_url;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getColor() {
                return color;
            }

            public String getIcon_url() {
                return icon_url;
            }

            public int getId() {
                return id;
            }

            public Object getOrder() {
                return order;
            }

            public int getStatus() {
                return status;
            }

            public String getTarget_url() {
                return target_url;
            }

            public String getTitle() {
                return title;
            }
        }
    }
}
